<HTML>
<HEAD>
<meta charset="UTF-8">
<title>DataMessageObserver.onDataMessageReceived - amazon-chime-sdk</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">amazon-chime-sdk</a>&nbsp;/&nbsp;<a href="../index.html">com.amazonaws.services.chime.sdk.meetings.realtime.datamessage</a>&nbsp;/&nbsp;<a href="index.html">DataMessageObserver</a>&nbsp;/&nbsp;<a href="./on-data-message-received.html">onDataMessageReceived</a><br/>
<br/>
<h1>onDataMessageReceived</h1>
<a name="com.amazonaws.services.chime.sdk.meetings.realtime.datamessage.DataMessageObserver$onDataMessageReceived(com.amazonaws.services.chime.sdk.meetings.realtime.datamessage.DataMessage)"></a>
<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">onDataMessageReceived</span><span class="symbol">(</span><span class="identifier" id="com.amazonaws.services.chime.sdk.meetings.realtime.datamessage.DataMessageObserver$onDataMessageReceived(com.amazonaws.services.chime.sdk.meetings.realtime.datamessage.DataMessage)/dataMessage">dataMessage</span><span class="symbol">:</span>&nbsp;<a href="../-data-message/index.html"><span class="identifier">DataMessage</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
<p>Handles data message being received.</p>
<p>Note: Data messages sent from local participant will not trigger this callback unless it's throttled.</p>
<h3>Parameters</h3>
<p><a name="dataMessage"></a>
<code>dataMessage</code> - : <a href="../-data-message/index.html">DataMessage</a> - data message being received</p>
</BODY>
</HTML>
